CVE-2026-8454
Imager::File::GIF versions through 1.002 for Perl allow a heap out of bounds (OOB) write on crafted multi-frame GIF files
Description
Imager::File::GIF versions through 1.002 for Perl allow a heap out of bounds (OOB) write on crafted multi-frame GIF files. Imager::File::GIF's i_readgif_multi_low allocates a single per-row buffer GifRow sized for the GIF's global screen width 'SWidth' and reuses it across every image in the file. The page-match branch validates Image.Width + Image.Left > SWidth before each DGifGetLine write, but the parallel skip-image branch at imgif.c:790-805 calls DGifGetLine(GifFile, GifRow, Width) with no such check.
INFO
Published Date :
May 15, 2026, 12:17 p.m.
Last Modified :
May 18, 2026, 6:12 p.m.
Remotely Exploit :
No
Source :
9b29abf9-4ab0-4765-b253-1875cd9b441e
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | 134c704f-9b21-4f2e-91b3-4a467353bcc0 |
Solution
- Update Imager::File::GIF library to a patched version.
- Apply vendor patches for the specific version.
- Review image processing code for secure handling.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-8454.
| URL | Resource |
|---|---|
| https://github.com/tonycoz/imager/commit/782e9c06cc75a0f7eed383f39522f51f44598b04.patch | Patch |
| https://metacpan.org/release/TONYC/Imager-File-GIF-1.003/source/Changes | Release Notes |
| http://www.openwall.com/lists/oss-security/2026/05/15/15 | Mailing List Third Party Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-8454 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-8454
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-8454 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-8454 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
May. 18, 2026
Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:a:tonyc:imager::file::gif:*:*:*:*:*:perl:*:* versions up to (excluding) 1.003 Added Reference Type CVE: http://www.openwall.com/lists/oss-security/2026/05/15/15 Types: Mailing List, Third Party Advisory Added Reference Type CPANSec: https://github.com/tonycoz/imager/commit/782e9c06cc75a0f7eed383f39522f51f44598b04.patch Types: Patch Added Reference Type CPANSec: https://metacpan.org/release/TONYC/Imager-File-GIF-1.003/source/Changes Types: Release Notes -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
May. 15, 2026
Action Type Old Value New Value Added Reference http://www.openwall.com/lists/oss-security/2026/05/15/15 -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
May. 15, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L -
New CVE Received by 9b29abf9-4ab0-4765-b253-1875cd9b441e
May. 15, 2026
Action Type Old Value New Value Added Description Imager::File::GIF versions through 1.002 for Perl allow a heap out of bounds (OOB) write on crafted multi-frame GIF files. Imager::File::GIF's i_readgif_multi_low allocates a single per-row buffer GifRow sized for the GIF's global screen width 'SWidth' and reuses it across every image in the file. The page-match branch validates Image.Width + Image.Left > SWidth before each DGifGetLine write, but the parallel skip-image branch at imgif.c:790-805 calls DGifGetLine(GifFile, GifRow, Width) with no such check. Added CWE CWE-787 Added Reference https://github.com/tonycoz/imager/commit/782e9c06cc75a0f7eed383f39522f51f44598b04.patch Added Reference https://metacpan.org/release/TONYC/Imager-File-GIF-1.003/source/Changes